package test

import org.slf4j.LoggerFactory

/**
 * @author BX-Gin
 * @since 2024/6/6 下午12:05
 */

class Test {
    private val logger = LoggerFactory.getLogger(this::class.java)

    fun text(msg: String) {
        logger.info(msg)
    }
}

fun main() {
    println(System.getenv("auth"))
//    val authorization = File("D:/Authorization.txt").readText()
//    val retrofit = Gf2BbsRetrofit(authorization, true)
//    val res = retrofit.itemApi.postExchange(ExchangeForm(2)).execute().body()
//
//    println(MAPPER.writeValueAsString(res))
//    res?.data?.list?.firstOrNull { it.liked == false }?.also {
//        val body = retrofit.topicApi.getShare(it.topicId!!).execute().body()
//        println(MAPPER.writeValueAsString(body))
//    }

//    val res = retrofit.taskApi.postSignIn().execute().body()
//    println(MAPPER.writeValueAsString(res))

//    println("${ZonedDateTime.now()}")

//    Test().text("asdf")
}